package cn.edu.nsmc.modules.sys.entity.vo;

import cn.edu.nsmc.modules.sys.entity.SysWorksheetTemplate;
import cn.hutool.core.annotation.Alias;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 工单类型
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class WorksheetTypeVO implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@Alias("id")
	private Long value;
	/**
	 * 上级id
	 */
	private Long pid;
	/**
	 * 
	 */
	@Alias("name")
	private String label;
	/**
	 * 工单模板ID
	 */
	private Integer templateId;
	private SysWorksheetTemplate template;

	private List<WorksheetTypeVO> children;
}
